package com.example.javabasic.shejimoshi.chouxianggongchang.demo1;

public class ConcreteFactory1 implements AbstractFactory {
    @Override
    public Product newProductA() {
        return new ConcreteProductA();
    }

    @Override
    public Product newProductB() {
        return new ConcreteProductB();
    }
}
